package www.rlicker.dao;

import www.rlicker.model.UserMoney;
import www.rlicker.mybatis.Criteria;

import java.util.List;

import javax.validation.constraints.Pattern;
import javax.websocket.server.PathParam;

import org.apache.ibatis.annotations.Param;

public interface IUserMoneyDao{


	/**
	 * 
	 * ��ҳ��ѯ
	 * 
	 **/
	public List<UserMoney>  queryPage (Criteria<UserMoney> param);

	/**
	 * 
	 * ��ҳ������ѯ
	 * 
	 **/
	public Integer queryPageCount (Criteria<UserMoney> param);

	/**
	 * 
	 * ��ѯ����������ID��ѯ��
	 * 
	 **/
	public UserMoney  queryEntity (Integer id );
	public UserMoney  queryUserId (@Param(value = "userId") Long userId );

	/**
	 * 
	 * ɾ������������IDɾ����
	 * 
	 **/
	public int deleteById (Integer id );

	/**
	 * 
	 * ��� ��ƥ����ֵ���ֶΣ�
	 * 
	 **/
	public int insert(UserMoney record );
	/**
	 * 
	 * �޸ģ�ƥ����ֵ���ֶΣ�
	 * 
	 **/
	public int update (Criteria<UserMoney> param);


}